<include file="common/hearder"/>






<!--简历管理查询列表-->

<div class="page-header">
    <div class="pull-left">
        <h4><span class="glyphicon glyphicon-tag"></span>简历管理\Recruitment management</h4>
    </div>
</div>
<div class="pull-right">
    <form action="{:U('index')}" >
        <input type="text" name="value" placeholder="输入查询查询内容">
        <input type="submit" name="search" class="btn btn-mystyle btn-sm" value="搜索">
    </form>
</div>
<div class="manage-left">
    <a href="{:U('add')}" class="btn btn-info glyphicon glyphicon-plus-sign">添加</a>
    <a onclick="confirm('确定影藏数据？影藏过后的数据可在回收站找回...')?$('#form_all').submit():'false';" class="btn btn-warning glyphicon glyphicon glyphicon-minus-sign">批量影藏</a>
    <a href="{:U('recovery')}" class="btn btn-danger glyphicon glyphicon glyphicon-trash">回收站</a>
</div>
<div class="clearfix"></div>
<div class="table-margin">
    <form action="{:U('del_all')}" method="post" id="form_all">
        <table class="table table-bordered table-header">
            <thead>
            <tr>
                <td class="w5"><input class="ch_all" type="checkbox"></td>
                <td >ID</td>
                <td >投简人</td>
                <td>性别</td>
                <td >年龄</td>
                <td >学历</td>
                <td >经验</td>
                <td >投简历的意向</td>
                <td >投简历的时间</td>
                <td >处理意见</td>
                <td >处理时间</td>
                <td >处理人</td>
                <td>操作</td>
            </tr>
            </thead>
            <tbody>
            <foreach name="list" item="v">
                <tr>
                    <td><input name="rmnid[]" value="{$v.rmn_id}" type="checkbox" class="ch_id"></td>
                    <td>{$v.rmn_id}</td>
                    <td>{$v.preson}</td>
                  <td>{$v['sex'] == 1 ? '男':'女'}</td>
                    <td>{$v.age}</td>
                    <td>{$v.rmd_study}</td>
                    <td>{$v.rmd_seniority}</td>
                    <td>{$v.rmd_intention}</td>
                    <td>{$v.rmd_pubtime}</td>
                    <td>{$v.rmd_manage}</td>
                    <td>{$v.rmd_men}</td>
                    <td>{$v['state'] == 1 ? '已处理':'<span style="color: red;">未处理</span>'}</td>
                    <td>
                        <a href="{:U('edit',array('rmn_id'=>$v['rmn_id'],'page'=>1))}" class="btn btn-info btn-xs active" role="button"><span class="glyphicon glyphicon-zoom-in"></span>编辑</a>
                        <a href="{:U('auth',array('rmn_id'=>$v['rmn_id']))}" class="btn btn-warning btn-xs active" role="button"><span class="glyphicon glyphicon-pencil"></span>查看</a>
                        <a href="{:U('del',array('rmn_id'=>$v['rmn_id']))}" class="btn btn-danger btn-xs active" role="button" onclick="return confirm('确定删除数据？')"><span class="glyphicon glyphicon-trash"></span>删除</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
    </form>
    <div class="ys">
        共{$count}条数据
        {$show}
    </div>
</div>
</div>
<script>
    //全选  反选
    $('.ch_all').on('click',function () {
        if($(this).prop('checked')){
            $('.ch_id').each(function () {
                if($(this).prop('checked')){
                    $(this).prop('checked',false);
                }
                else {
                    $(this).prop('checked',true);
                }
            })
        }
        else {
            $('.ch_id').prop('checked',false);
        }
    });
</script>

<style>
    .prev,.next{
        font-size: 12px;
        line-height: 24px;
    }
    .current,.num,.next,.prev{
        display: block;
        width: 30px;
        height: 30px;
        border: 1px solid #ddd;
        text-align: center;
        /*padding: 5px 10px;*/
        float: left;
        margin: 30px 2px;
        background-color: #5bc0de;
        text-decoration: none;
        color: #e9d5d0;
    }
    .prev,.next,.end,.first{
        width: 60px;
        height: 30px;
    }
    .current {
        background-color: #f0ad4e;
        color: white;
        border: 1px solid #f0ad4e;
    }
</style>
</form>















<include file="common/footer"/>